home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 1
/
Atari Mega Archive - Volume 1.iso
/
language
/
dl_extra.zoo
/
extras.h
next >
Wrap
C/C++ Source or Header
|
1994-07-04
|
2KB
|
68 lines
#include <time.h> /* for clock_t */
#include <basepage.h> /* for BASEPAGE */
#include <setjmp.h> /* for jmp_buf */
#ifndef __PROTO
# if __STDC__
# define __PROTO(x) x
# else
# define __PROTO(x) ()
# endif
#endif
char *pfindfile __PROTO((const char *path, const char *afn, const char *ext));
char *wildcard __PROTO((char *pathname));
char *_splitpath __PROTO((const char *src, char *drive, char *path,
char *file, char *ext));
char *_makepath __PROTO((char *dst, const char *drive, const char *path,
const char *file, const char *ext));
char *strset __PROTO((char *string, int c));
char *strnset __PROTO((char *string, int c, int n));
char *substr __PROTO((char *dest, char *source, int start, int end));
char *subnstr __PROTO((char *dest, char *source, int start, int length));
char *stristr __PROTO((char *string, char *pattern));
char *strpcpy __PROTO((char *dest, char *src, char *stop));
int strpos __PROTO((char *string, int symbol));
char *strrpbrk __PROTO((char *string, char *set));
int strrpos __PROTO((char *string, int symbol));
char *strtrim __PROTO((char *string, char *junk));
char *stradj __PROTO((char *string, int dir));
int strrpl __PROTO((char *string, char *ptrn, char *rpl, int n));
int strirpl __PROTO((char *string, char *ptrn, char *rpl, int n));
int memicmp __PROTO((char *blk1, char *blk2, int len));
char *ctlcnv __PROTO((char *string));
char *lmemmove __PROTO((char *dest, char *source, long len));
char *lmemcpy __PROTO((char *dest, char *source, long len));
void *lalloc __PROTO((long size));
long lread __PROTO((int h, char *data, long length));
long lwrite __PROTO((int h, char *data, long length));
BASEPAGE *Getbpact_pd __PROTO((void));
unsigned int GetTOSvers __PROTO((long *OS_date, unsigned int *OS_conf,
unsigned int * OS_dosdate));
int Getcookie __PROTO(( long cookie, long *value ));
void perrorf __PROTO((char *fmt, ...));
int catch __PROTO((jmp_buf context, int (*func)(void)));
void throw __PROTO((jump_buf context, int rv));
long fsize __PROTO((char *name));
long msize __PROTO((char *addr));
long memavail __PROTO((void));
clock_t start_timer __PROTO((clock_t *t));
clock_t time_since __PROTO((clock_t *t));
void swab __PROTO((int *src, int *dst, int n));
int bdos __PROTO((int func, long parameter));